package org.sixtynine.stock.service;

import java.util.List;

import org.sixtynine.stock.dto.GridPramDTO;
import org.sixtynine.stock.dto.Page;
import org.sixtynine.stock.entity.SubSector;

/**
 * @author Thilan
 *
 */

public interface SubSectorService {

	SubSector findById(int id);
	
	void saveSubSector(SubSector subSector);
	
	void deleteSubSector(int id);
	
	List<SubSector> findSubSector(String name);
	
	List<SubSector> searchSubSector(int sectorId , String code);

	Page<SubSector> searchSubSector(int sectorId , String code ,GridPramDTO gridPramDTO);
	
}
